{%function name="menu" active="assets"%}
<nav id="menu">
    <ul>
        <li {%if $active=='assets'%}class="active"{%/if%}><a href="/user/assetsdemand">我的资产</a></li>
        <li {%if $active=='myrecord'%}class="active"{%/if%}><a href="/user/myrecord">我的交易记录</a></li>
        <li {%if $active=='sysrecord'%}class="active"{%/if%}><a href="/user/sysrecord">系统交易记录</a></li>
        <li {%if $active=='security'%}class="active"{%/if%}><a href="/user/security">账户安全</a></li>
    </ul>
</nav>
{%/function%}